import React from 'react';
import ReactDOM from 'react-dom/client';
import { HashRouter } from 'react-router-dom'
// 引入根组件App
import App from './App';
// 引入重置样式表和rem配置文件
import "./assets/css/reset.css"
import "./assets/js/rem"

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    // 采用hash的路由模式
    <HashRouter>
        <App />
    </HashRouter>
);


